package com.bw.bean;

import java.sql.Date;

public class Movie {
    private int id;
    private String name;
    private String director;
    private double price;
    private Date uptime;
    private String longtime;
    private String area;
    private String type;
    private int year;
    private int status;

    public Movie() {
    }

    public Movie(int id, String name, String director, double price, Date uptime, String longtime, String area, String type, int year, int status) {
        this.id = id;
        this.name = name;
        this.director = director;
        this.price = price;
        this.uptime = uptime;
        this.longtime = longtime;
        this.area = area;
        this.type = type;
        this.year = year;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDirector() {
        return director;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getUptime() {
        return uptime;
    }

    public void setUptime(Date uptime) {
        this.uptime = uptime;
    }

    public String getLongtime() {
        return longtime;
    }

    public void setLongtime(String longtime) {
        this.longtime = longtime;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getYear() {
        return year;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "Movie{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", director='" + director + '\'' +
                ", price=" + price +
                ", uptime=" + uptime +
                ", longtime='" + longtime + '\'' +
                ", area='" + area + '\'' +
                ", type='" + type + '\'' +
                ", year=" + year +
                ", status=" + status +
                '}';
    }
}
